import request from '@/utils/request'

// 机型表列表
export function apiModelLists(params: any) {
    return request.get({ url: '/model/lists', params })
}

// 添加机型表
export function apiModelAdd(params: any) {
    return request.post({ url: '/model/add', params })
}

export function apiModelAll(params: any) {
    return request.get({ url: '/model/all', params })
}

// 编辑机型表
export function apiModelEdit(params: any) {
    return request.post({ url: '/model/edit', params })
}

// 删除机型表
export function apiModelDelete(params: any) {
    return request.post({ url: '/model/delete', params })
}

// 机型表详情
export function apiModelDetail(params: any) {
    return request.get({ url: '/model/detail', params })
}